<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BabyOS: BOS_Exported_Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="2.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BabyOS
   &#160;<span id="projectnumber">V1.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">BOS_Exported_Functions<div class="ingroups"><a class="el" href="group___b_a_b_y_o_s.html">BABYOS</a> &raquo; <a class="el" href="group___b_o_s.html">BOS</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga77d7bd12027132a4366d65f361d09503"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_o_s___exported___functions.html#ga77d7bd12027132a4366d65f361d09503">bInit</a> ()</td></tr>
<tr class="memdesc:ga77d7bd12027132a4366d65f361d09503"><td class="mdescLeft">&#160;</td><td class="mdescRight">Init.  <a href="#ga77d7bd12027132a4366d65f361d09503">More...</a><br /></td></tr>
<tr class="separator:ga77d7bd12027132a4366d65f361d09503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafdd4a2c4634d1ddef0eb287cd9d76ebc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_o_s___exported___functions.html#gafdd4a2c4634d1ddef0eb287cd9d76ebc">bExec</a> ()</td></tr>
<tr class="memdesc:gafdd4a2c4634d1ddef0eb287cd9d76ebc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call this function inside the while(1)  <a href="#gafdd4a2c4634d1ddef0eb287cd9d76ebc">More...</a><br /></td></tr>
<tr class="separator:gafdd4a2c4634d1ddef0eb287cd9d76ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gafdd4a2c4634d1ddef0eb287cd9d76ebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafdd4a2c4634d1ddef0eb287cd9d76ebc">&#9670;&nbsp;</a></span>bExec()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bExec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call this function inside the while(1) </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">Result</td><td><ul>
<li>0 OK </li>
<li>-1 ERR </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="b__os_8c_source.html#l00131">131</a> of file <a class="el" href="b__os_8c_source.html">b_os.c</a>.</p>

<p class="reference">References <a class="el" href="b__config_8h_source.html#l00066">_BATTERY_D_CYCLE</a>, <a class="el" href="b__config_8h_source.html#l00050">_TICK_FRQ_HZ</a>, <a class="el" href="group___b_o_s___private___macros.html#gafd10a1af74782220922eed6542324cd2">bBatteryCore()</a>, <a class="el" href="group___b_o_s___private___macros.html#ga1e55aed6efd8f6dbaec02548c6ba6b71">bErrorCore()</a>, <a class="el" href="group___b_o_s___private___macros.html#ga26365b33e6409bf4f159c8d05ec5b4e0">bEventCore()</a>, <a class="el" href="b__utils_8c_source.html#l00125">bHalGetTick()</a>, <a class="el" href="group___b_o_s___private___macros.html#gaf9afd0ae30f6af580ac18395a04d2fb8">bTX_Core()</a>, <a class="el" href="group___b_o_s___private___macros.html#gac0d4745672830bff370171057109399d">bXmodem128Timeout()</a>, <a class="el" href="group___b_o_s___private___macros.html#ga519c12a30fd01012295f26bd4d153828">bYmodemTimeout()</a>, <a class="el" href="b__config_8h_source.html#l00222">FLEX_BTN_SCAN_FREQ_HZ</a>, and <a class="el" href="b__config_8h_source.html#l00051">MS2TICKS</a>.</p>

</div>
</div>
<a id="ga77d7bd12027132a4366d65f361d09503"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77d7bd12027132a4366d65f361d09503">&#9670;&nbsp;</a></span>bInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int bInit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Init. </p>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">Result</td><td><ul>
<li>0 OK </li>
<li>-1 ERR </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="b__os_8c_source.html#l00118">118</a> of file <a class="el" href="b__os_8c_source.html">b_os.c</a>.</p>

<p class="reference">References <a class="el" href="b__config_8h_source.html#l00232">b_log</a>, <a class="el" href="b__device_8h_source.html#l00151">bDEV_MAX_NUM</a>, <a class="el" href="b__device_8c_source.html#l00129">bDeviceInit()</a>, and <a class="el" href="b__hal_8c_source.html#l00134">bHalInit()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
